<?php

	// TITLE: volunteer
	// FILE: scafolding/listVolunteer.php
	// AUTHOR: AUTOGEN
	// CREATED: 2015/02/18 11:14:32
	// DESCRIPTION: 
	// REQUIREMENTS: 

?>
<h2>volunteer</h2>
<hr>
<form method="GET" action="index.php">
	<input type="hidden" id="dir" value="<?php echo $dir; ?>">
	<input type="hidden" id="sub" value="<?php echo $sub; ?>">
	<input type="hidden" id="act" value="view">
</form>
<table>
	<thead>
		<tr>
			<th>id</th>
			<th>consent_age</th>
			<th>consent_video</th>
			<th>consent_waiver</th>
			<th>consent_photo</th>
			<th>avail_day</th>
			<th>avail_eve</th>
			<th>avail_weekend</th>
			<th>when_age</th>
			<th>when_video</th>
			<th>when_waiver</th>
			<th>when_photo</th>
		</tr>
	</thead>
	<tbody>
	<?php foreach ($fields as $field)  { ?>
		<tr onclick="goto('<?php echo $volunteer->getId(); ?>');">
			<td><?php echo $volunteer->getId(); ?></td>
			<td><?php echo $volunteer->getConsentAge(); ?></td>
			<td><?php echo $volunteer->getConsentVideo(); ?></td>
			<td><?php echo $volunteer->getConsentWaiver(); ?></td>
			<td><?php echo $volunteer->getConsentPhoto(); ?></td>
			<td><?php echo $volunteer->getAvailDay(); ?></td>
			<td><?php echo $volunteer->getAvailEve(); ?></td>
			<td><?php echo $volunteer->getAvailWeekend(); ?></td>
			<td><?php echo $volunteer->getWhenAge(); ?></td>
			<td><?php echo $volunteer->getWhenVideo(); ?></td>
			<td><?php echo $volunteer->getWhenWaiver(); ?></td>
			<td><?php echo $volunteer->getWhenPhoto(); ?></td>
		</tr>
	<?php } ?>
	</tbody>
</table>

?>
